<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: PrettyPrinter Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.05</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">PrettyPrinter Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Implementation of a <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml">Printer</a> that produces human readable output.  
 <a href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_pretty_printer_8h_source.xhtml">PrettyPrinter.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for PrettyPrinter:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1test_1_1framework_1_1_pretty_printer__coll__graph.svg" width="114" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.xhtml">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afcf598578056fcc9e9ed8916b68e28a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#afcf598578056fcc9e9ed8916b68e28a2">set_color_output</a> (bool color_output)</td></tr>
<tr class="memdesc:afcf598578056fcc9e9ed8916b68e28a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set if the output is colored.  <a href="#afcf598578056fcc9e9ed8916b68e28a2">More...</a><br /></td></tr>
<tr class="separator:afcf598578056fcc9e9ed8916b68e28a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a3ad8a62c2d169ba98b99fc849cb8c0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#a2a3ad8a62c2d169ba98b99fc849cb8c0">print_entry</a> (const std::string &amp;name, const std::string &amp;value) override</td></tr>
<tr class="memdesc:a2a3ad8a62c2d169ba98b99fc849cb8c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print an entry consisting of a (name, value) pair.  <a href="#a2a3ad8a62c2d169ba98b99fc849cb8c0">More...</a><br /></td></tr>
<tr class="separator:a2a3ad8a62c2d169ba98b99fc849cb8c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e3955a20faf3bcda615ae62b0b24efa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#a4e3955a20faf3bcda615ae62b0b24efa">print_global_header</a> () override</td></tr>
<tr class="memdesc:a4e3955a20faf3bcda615ae62b0b24efa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print global header.  <a href="#a4e3955a20faf3bcda615ae62b0b24efa">More...</a><br /></td></tr>
<tr class="separator:a4e3955a20faf3bcda615ae62b0b24efa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73c2cb1847e4110041efe047cb9421e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#a73c2cb1847e4110041efe047cb9421e6">print_global_footer</a> () override</td></tr>
<tr class="memdesc:a73c2cb1847e4110041efe047cb9421e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print global footer.  <a href="#a73c2cb1847e4110041efe047cb9421e6">More...</a><br /></td></tr>
<tr class="separator:a73c2cb1847e4110041efe047cb9421e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa520a585d43bb30a6c483e69d40f01a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#aa520a585d43bb30a6c483e69d40f01a1">print_run_header</a> () override</td></tr>
<tr class="memdesc:aa520a585d43bb30a6c483e69d40f01a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print header before running all tests.  <a href="#aa520a585d43bb30a6c483e69d40f01a1">More...</a><br /></td></tr>
<tr class="separator:aa520a585d43bb30a6c483e69d40f01a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a906cf0547c72a5e2c38697c7d6c669ba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#a906cf0547c72a5e2c38697c7d6c669ba">print_run_footer</a> () override</td></tr>
<tr class="memdesc:a906cf0547c72a5e2c38697c7d6c669ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print footer after running all tests.  <a href="#a906cf0547c72a5e2c38697c7d6c669ba">More...</a><br /></td></tr>
<tr class="separator:a906cf0547c72a5e2c38697c7d6c669ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bd164e8c3de0910183bdb50315ab282"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#a0bd164e8c3de0910183bdb50315ab282">print_test_header</a> (const <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_test_info.xhtml">TestInfo</a> &amp;info) override</td></tr>
<tr class="memdesc:a0bd164e8c3de0910183bdb50315ab282"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print header before a test.  <a href="#a0bd164e8c3de0910183bdb50315ab282">More...</a><br /></td></tr>
<tr class="separator:a0bd164e8c3de0910183bdb50315ab282"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1012b95505daaa0be227d812b7329dc0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#a1012b95505daaa0be227d812b7329dc0">print_test_footer</a> () override</td></tr>
<tr class="memdesc:a1012b95505daaa0be227d812b7329dc0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print footer after a test.  <a href="#a1012b95505daaa0be227d812b7329dc0">More...</a><br /></td></tr>
<tr class="separator:a1012b95505daaa0be227d812b7329dc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69ca6fda3763ffa3dd7a18ed70eb685b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#a69ca6fda3763ffa3dd7a18ed70eb685b">print_errors_header</a> () override</td></tr>
<tr class="memdesc:a69ca6fda3763ffa3dd7a18ed70eb685b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print header before errors.  <a href="#a69ca6fda3763ffa3dd7a18ed70eb685b">More...</a><br /></td></tr>
<tr class="separator:a69ca6fda3763ffa3dd7a18ed70eb685b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09777172c75440fb57577f538c3354fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#a09777172c75440fb57577f538c3354fa">print_errors_footer</a> () override</td></tr>
<tr class="memdesc:a09777172c75440fb57577f538c3354fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print footer after errors.  <a href="#a09777172c75440fb57577f538c3354fa">More...</a><br /></td></tr>
<tr class="separator:a09777172c75440fb57577f538c3354fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb8becd7931a06d74a77ee9b51a67dd6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#afb8becd7931a06d74a77ee9b51a67dd6">print_error</a> (const std::exception &amp;<a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">error</a>, bool expected) override</td></tr>
<tr class="memdesc:afb8becd7931a06d74a77ee9b51a67dd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print test error.  <a href="#afb8becd7931a06d74a77ee9b51a67dd6">More...</a><br /></td></tr>
<tr class="separator:afb8becd7931a06d74a77ee9b51a67dd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b8f26a11ed27e8d4af56b4b297e5cd2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#a1b8f26a11ed27e8d4af56b4b297e5cd2">print_info</a> (const std::string &amp;info) override</td></tr>
<tr class="memdesc:a1b8f26a11ed27e8d4af56b4b297e5cd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print test log info.  <a href="#a1b8f26a11ed27e8d4af56b4b297e5cd2">More...</a><br /></td></tr>
<tr class="separator:a1b8f26a11ed27e8d4af56b4b297e5cd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1989aab0187e56f1cf45e92e892c9d2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#a1989aab0187e56f1cf45e92e892c9d2d">print_measurements</a> (const <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_profiler.xhtml#a20bb995bb0d5415692917b2f9a36f948">Profiler::MeasurementsMap</a> &amp;measurements) override</td></tr>
<tr class="memdesc:a1989aab0187e56f1cf45e92e892c9d2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print measurements for a test.  <a href="#a1989aab0187e56f1cf45e92e892c9d2d">More...</a><br /></td></tr>
<tr class="separator:a1989aab0187e56f1cf45e92e892c9d2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3109b7e2d037aafe5422e92c7388d89f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml#a3109b7e2d037aafe5422e92c7388d89f">print_list_tests</a> (const std::vector&lt; <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_test_info.xhtml">TestInfo</a> &gt; &amp;infos) override</td></tr>
<tr class="memdesc:a3109b7e2d037aafe5422e92c7388d89f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print the list of all the tests.  <a href="#a3109b7e2d037aafe5422e92c7388d89f">More...</a><br /></td></tr>
<tr class="separator:a3109b7e2d037aafe5422e92c7388d89f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml">Printer</a></td></tr>
<tr class="memitem:ac2f08469bc84751d553b626f319730bf inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#ac2f08469bc84751d553b626f319730bf">Printer</a> ()=default</td></tr>
<tr class="memdesc:ac2f08469bc84751d553b626f319730bf inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#ac2f08469bc84751d553b626f319730bf">More...</a><br /></td></tr>
<tr class="separator:ac2f08469bc84751d553b626f319730bf inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6481d49255440cc5261f751efc4e5bd inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#ae6481d49255440cc5261f751efc4e5bd">Printer</a> (std::ostream &amp;stream)</td></tr>
<tr class="memdesc:ae6481d49255440cc5261f751efc4e5bd inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct printer with given output stream.  <a href="#ae6481d49255440cc5261f751efc4e5bd">More...</a><br /></td></tr>
<tr class="separator:ae6481d49255440cc5261f751efc4e5bd inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1c9bd7e4bc60107ac6035125cf76024 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#ab1c9bd7e4bc60107ac6035125cf76024">Printer</a> (const <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml">Printer</a> &amp;)=delete</td></tr>
<tr class="memdesc:ab1c9bd7e4bc60107ac6035125cf76024 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copy constructed.  <a href="#ab1c9bd7e4bc60107ac6035125cf76024">More...</a><br /></td></tr>
<tr class="separator:ab1c9bd7e4bc60107ac6035125cf76024 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab85933c994519feb7bc7e12ea3db127f inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml">Printer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#ab85933c994519feb7bc7e12ea3db127f">operator=</a> (const <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml">Printer</a> &amp;)=delete</td></tr>
<tr class="memdesc:ab85933c994519feb7bc7e12ea3db127f inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied.  <a href="#ab85933c994519feb7bc7e12ea3db127f">More...</a><br /></td></tr>
<tr class="separator:ab85933c994519feb7bc7e12ea3db127f inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9738d1a0a99daa96da890b7f2cdc7b9d inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a9738d1a0a99daa96da890b7f2cdc7b9d">Printer</a> (<a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml">Printer</a> &amp;&amp;)=default</td></tr>
<tr class="memdesc:a9738d1a0a99daa96da890b7f2cdc7b9d inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be move constructed.  <a href="#a9738d1a0a99daa96da890b7f2cdc7b9d">More...</a><br /></td></tr>
<tr class="separator:a9738d1a0a99daa96da890b7f2cdc7b9d inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9efee145dd3e600454d5790050051ab inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml">Printer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#ab9efee145dd3e600454d5790050051ab">operator=</a> (<a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml">Printer</a> &amp;&amp;)=default</td></tr>
<tr class="memdesc:ab9efee145dd3e600454d5790050051ab inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be moved.  <a href="#ab9efee145dd3e600454d5790050051ab">More...</a><br /></td></tr>
<tr class="separator:ab9efee145dd3e600454d5790050051ab inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa62e7eb81a5dcf350ab8b677ddd8f60 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#aaa62e7eb81a5dcf350ab8b677ddd8f60">~Printer</a> ()=default</td></tr>
<tr class="memdesc:aaa62e7eb81a5dcf350ab8b677ddd8f60 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor.  <a href="#aaa62e7eb81a5dcf350ab8b677ddd8f60">More...</a><br /></td></tr>
<tr class="separator:aaa62e7eb81a5dcf350ab8b677ddd8f60 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d2a8186429cb8b469e21c03dc4c8e33 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a4d2a8186429cb8b469e21c03dc4c8e33">print</a> (const std::string &amp;str)</td></tr>
<tr class="memdesc:a4d2a8186429cb8b469e21c03dc4c8e33 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print given string.  <a href="#a4d2a8186429cb8b469e21c03dc4c8e33">More...</a><br /></td></tr>
<tr class="separator:a4d2a8186429cb8b469e21c03dc4c8e33 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c42c24c66df12502377695d5e54ffa7 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a4c42c24c66df12502377695d5e54ffa7">set_stream</a> (std::ostream &amp;stream)</td></tr>
<tr class="memdesc:a4c42c24c66df12502377695d5e54ffa7 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the output stream.  <a href="#a4c42c24c66df12502377695d5e54ffa7">More...</a><br /></td></tr>
<tr class="separator:a4c42c24c66df12502377695d5e54ffa7 inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_printer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of a <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml">Printer</a> that produces human readable output. </p>

<p>Definition at line <a class="el" href="_pretty_printer_8h_source.xhtml#l00036">36</a> of file <a class="el" href="_pretty_printer_8h_source.xhtml">PrettyPrinter.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a2a3ad8a62c2d169ba98b99fc849cb8c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_entry </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print an entry consisting of a (name, value) pair. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>Description of the value. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>Value. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#adac997f56174b23d4e4ec5adccf1d836">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00063">63</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;{</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    *_stream &lt;&lt; begin_color(<span class="stringliteral">&quot;4&quot;</span>) &lt;&lt; name &lt;&lt; <span class="stringliteral">&quot; = &quot;</span> &lt;&lt; value &lt;&lt; end_color() &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="afb8becd7931a06d74a77ee9b51a67dd6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_error </td>
          <td>(</td>
          <td class="paramtype">const std::exception &amp;&#160;</td>
          <td class="paramname"><em>error</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>expected</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print test error. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">error</td><td>Description of the error. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">expected</td><td>Whether the error was expected or not. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a8b879125822f4f7e70d563c4f1672942">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00106">106</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;{</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    std::string prefix = <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#aa6e67bddae371a5731f6d4002e787299">expected</a> ? <span class="stringliteral">&quot;EXPECTED ERROR: &quot;</span> : <span class="stringliteral">&quot;ERROR: &quot;</span>;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    *_stream &lt;&lt; begin_color(<span class="stringliteral">&quot;1&quot;</span>) &lt;&lt; prefix &lt;&lt; <a class="code" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">error</a>.what() &lt;&lt; end_color() &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;}</div><div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_aa6e67bddae371a5731f6d4002e787299"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#aa6e67bddae371a5731f6d4002e787299">arm_compute::test::validation::expected</a></div><div class="ttdeci">expected</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_winograd_8cpp_source.xhtml#l00174">Winograd.cpp:174</a></div></div>
<div class="ttc" id="namespacearm__compute_xhtml_a568b0fbfa3d903099d9c9f7b6acf188d"><div class="ttname"><a href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">arm_compute::error</a></div><div class="ttdeci">void error(const char *function, const char *file, const int line, const char *msg,...)</div><div class="ttdoc">Print an error message then throw an std::runtime_error. </div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a09777172c75440fb57577f538c3354fa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_errors_footer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print footer after errors. </p>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a0aa25e682d18e48c986ed28cca43ad77">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00097">97</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;{</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a69ca6fda3763ffa3dd7a18ed70eb685b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_errors_header </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print header before errors. </p>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#ab7cc3070c9af8540e5805f5df8b0214f">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00093">93</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;{</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a73c2cb1847e4110041efe047cb9421e6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_global_footer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print global footer. </p>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a4386bf1fd7f7e7b3b83b4dea9edbba58">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00072">72</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;{</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a4e3955a20faf3bcda615ae62b0b24efa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_global_header </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print global header. </p>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#ad15771962ae4349ff5fe189ba04f4139">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00068">68</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a1b8f26a11ed27e8d4af56b4b297e5cd2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_info </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>info</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print test log info. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">info</td><td>Description of the log. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a24f328af2266d153ab2ddd1ada7b02e2">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00101">101</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;{</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    *_stream &lt;&lt; begin_color(<span class="stringliteral">&quot;1&quot;</span>) &lt;&lt; <span class="stringliteral">&quot;INFO: &quot;</span> &lt;&lt; <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">info</a> &lt;&lt; end_color() &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;}</div><div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a096668313a9a819d54a2e65ec21ff0cc"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">arm_compute::test::validation::info</a></div><div class="ttdeci">src info() -&gt; set_format(Format::S16)</div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a3109b7e2d037aafe5422e92c7388d89f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_list_tests </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_test_info.xhtml">TestInfo</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>infos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print the list of all the tests. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">infos</td><td>List of tests to print </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a32ea6575b559a96e1972a9bbe8fe1252">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00112">112</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>

<p>References <a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">arm_compute::test::validation::info()</a>.</p>
<div class="fragment"><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;{</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <span class="keywordflow">for</span>(<span class="keyword">auto</span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">info</a> : infos)</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    {</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        *_stream &lt;&lt; <span class="stringliteral">&quot;[&quot;</span> &lt;&lt; <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">info</a>.id &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">info</a>.mode &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">info</a>.status &lt;&lt; <span class="stringliteral">&quot;] &quot;</span> &lt;&lt; <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">info</a>.name &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    }</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;}</div><div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a096668313a9a819d54a2e65ec21ff0cc"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">arm_compute::test::validation::info</a></div><div class="ttdeci">src info() -&gt; set_format(Format::S16)</div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a1989aab0187e56f1cf45e92e892c9d2d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_measurements </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_profiler.xhtml#a20bb995bb0d5415692917b2f9a36f948">Profiler::MeasurementsMap</a> &amp;&#160;</td>
          <td class="paramname"><em>measurements</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print measurements for a test. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">measurements</td><td>Measurements as collected by a <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_profiler.xhtml">Profiler</a>. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a93693778c8458ce21b0fc41b85467dd6">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00119">119</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>

<p>References <a class="el" href="tests_2framework_2_utils_8h_source.xhtml#l00164">arm_compute::test::arithmetic_to_string()</a>, <a class="el" href="_instruments_stats_8h_source.xhtml#l00055">InstrumentsStats::max()</a>, <a class="el" href="_instruments_stats_8h_source.xhtml#l00067">InstrumentsStats::mean()</a>, <a class="el" href="_instruments_stats_8h_source.xhtml#l00061">InstrumentsStats::median()</a>, <a class="el" href="_instruments_stats_8h_source.xhtml#l00049">InstrumentsStats::min()</a>, <a class="el" href="_instruments_stats_8h_source.xhtml#l00073">InstrumentsStats::relative_standard_deviation()</a>, <a class="el" href="_measurement_8h_source.xhtml#l00283">Measurement::unit()</a>, and <a class="el" href="_measurement_8h_source.xhtml#l00301">Measurement::value()</a>.</p>
<div class="fragment"><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;{</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <span class="keywordflow">for</span>(<span class="keyword">const</span> <span class="keyword">auto</span> &amp;instrument : measurements)</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    {</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        *_stream &lt;&lt; begin_color(<span class="stringliteral">&quot;3&quot;</span>) &lt;&lt; <span class="stringliteral">&quot;  &quot;</span> &lt;&lt; instrument.first &lt;&lt; <span class="stringliteral">&quot;:&quot;</span>;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        InstrumentsStats stats(instrument.second);</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        *_stream &lt;&lt; <span class="stringliteral">&quot;    &quot;</span>;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        *_stream &lt;&lt; <span class="stringliteral">&quot;AVG=&quot;</span> &lt;&lt; stats.mean() &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; stats.max().unit();</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <span class="keywordflow">if</span>(instrument.second.size() &gt; 1)</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        {</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;            *_stream &lt;&lt; <span class="stringliteral">&quot;, STDDEV=&quot;</span> &lt;&lt; <a class="code" href="namespacearm__compute_1_1test.xhtml#a93690f80f7fb88ea733fdc6f9f3b3ada">arithmetic_to_string</a>(stats.relative_standard_deviation(), 2) &lt;&lt; <span class="stringliteral">&quot; %&quot;</span>;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;            *_stream &lt;&lt; <span class="stringliteral">&quot;, MIN=&quot;</span> &lt;&lt; stats.min();</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;            *_stream &lt;&lt; <span class="stringliteral">&quot;, MAX=&quot;</span> &lt;&lt; stats.max();</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;            *_stream &lt;&lt; <span class="stringliteral">&quot;, MEDIAN=&quot;</span> &lt;&lt; stats.median().value() &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; stats.median().unit();</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        }</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        *_stream &lt;&lt; end_color() &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    }</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;}</div><div class="ttc" id="namespacearm__compute_1_1test_xhtml_a93690f80f7fb88ea733fdc6f9f3b3ada"><div class="ttname"><a href="namespacearm__compute_1_1test.xhtml#a93690f80f7fb88ea733fdc6f9f3b3ada">arm_compute::test::arithmetic_to_string</a></div><div class="ttdeci">std::string arithmetic_to_string(T val, int decimal_places=0)</div><div class="ttdoc">Create a string with the arithmetic value in full precision. </div><div class="ttdef"><b>Definition:</b> <a href="tests_2framework_2_utils_8h_source.xhtml#l00164">Utils.h:164</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a906cf0547c72a5e2c38697c7d6c669ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_run_footer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print footer after running all tests. </p>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a2551b01adb00e6af451202a3aa2fe30a">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00080">80</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;{</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aa520a585d43bb30a6c483e69d40f01a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_run_header </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print header before running all tests. </p>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#aa8974e876a9d2e4ed49aeab9b0a18a96">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00076">76</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;{</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a1012b95505daaa0be227d812b7329dc0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_test_footer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print footer after a test. </p>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a983ccd98b01612e3415a74981ec7d8ab">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00089">89</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;{</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a0bd164e8c3de0910183bdb50315ab282"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void print_test_header </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_test_info.xhtml">TestInfo</a> &amp;&#160;</td>
          <td class="paramname"><em>info</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Print header before a test. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">info</td><td>Test info. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml#a5c0a4b9fd162ee32e0e6231947b6e9b0">Printer</a>.</p>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00084">84</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>

<p>References <a class="el" href="_framework_8h_source.xhtml#l00068">TestInfo::id</a>, and <a class="el" href="_framework_8h_source.xhtml#l00069">TestInfo::name</a>.</p>
<div class="fragment"><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;{</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    *_stream &lt;&lt; begin_color(<span class="stringliteral">&quot;2&quot;</span>) &lt;&lt; <span class="stringliteral">&quot;Running [&quot;</span> &lt;&lt; <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">info</a>.id &lt;&lt; <span class="stringliteral">&quot;] &#39;&quot;</span> &lt;&lt; <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">info</a>.name &lt;&lt; <span class="stringliteral">&quot;&#39;&quot;</span> &lt;&lt; end_color() &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;}</div><div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a096668313a9a819d54a2e65ec21ff0cc"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">arm_compute::test::validation::info</a></div><div class="ttdeci">src info() -&gt; set_format(Format::S16)</div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="afcf598578056fcc9e9ed8916b68e28a2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void set_color_output </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>color_output</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set if the output is colored. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">color_output</td><td>True if the output is colored. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00058">58</a> of file <a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;{</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    _color_output = color_output;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>tests/framework/printers/<a class="el" href="_pretty_printer_8h_source.xhtml">PrettyPrinter.h</a></li>
<li>tests/framework/printers/<a class="el" href="_pretty_printer_8cpp_source.xhtml">PrettyPrinter.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test.xhtml">test</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test_1_1framework.xhtml">framework</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_pretty_printer.xhtml">PrettyPrinter</a></li>
    <li class="footer">Generated on Wed May 23 2018 11:36:44 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
